package top.shen33.yang.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * tag-post表
 * </p>
 *
 * @author oreilly
 * @since 2018-09-14
 */
public class EdoTagPostRel extends Model<EdoTagPostRel> {

private static final long serialVersionUID = 1L;


                @TableId(value = "sid", type = IdType.AUTO)
                
    private Integer sid;

        
    private Integer tagId;

        
    private Integer postId;


    public Integer getSid() {
            return sid;
    }

    public void setSid(Integer sid) {
            this.sid = sid;
    }

    public Integer getTagId() {
            return tagId;
    }

    public void setTagId(Integer tagId) {
            this.tagId = tagId;
    }

    public Integer getPostId() {
            return postId;
    }

    public void setPostId(Integer postId) {
            this.postId = postId;
    }

    @Override
    protected Serializable pkVal() {
            return this.sid;
    }

    @Override
    public String toString() {
        return "EdoTagPostRel{" +
                ", sid=" + sid +
                ", tagId=" + tagId +
                ", postId=" + postId +
        "}";
    }
}
